﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Niknak.Social.Common.Http;
using Niknak.Social.Twitter;
using Demo.Business;

namespace Demo
{
    /// <summary>
    /// Normally you'd pull these from a config file
    /// </summary>
    public class TwitterConfig : ISettings
    {
        public string ConsumerKey
        {
            get { return "EMWfCgLaprY258gF9ziojQ"; }
        }

        public string ConsumerSecret
        {
            get { return "2VZlTyq3XhXtLP3gCQxhPXaBltfcnXA8vGFrmdzuAlI"; }
        }

        public string Token
        {
            get { return "144273912-CsgYGFgvERQl2EtbZvD0YBbS97TOJnta7SJPXGHr"; }
        }

        public string TokenSecret
        {
            get { return "p9c28fdALwf1ySYxWmoSU40K6TJFujRj78MXhsPA"; }
        }


        private static CustomTwitterFactory _Factory;
        public TwitterFactory Factory
        {
            get
            {
                if (_Factory == null)
                    _Factory = new CustomTwitterFactory();

                return _Factory;
            }
        }
    }
}
